package com.qf.j2112.mapper;

import com.qf.j2112.po.SysUser;
import java.util.List;

public interface SysUserMapper {

    SysUser findUserByUname(String uname);

    SysUser findUserByUid(int uid);

    List<SysUser> findAll();

    int addSysUser(SysUser user);

    int updateSysUser(SysUser user);

    int deleteSysUser(int uid);

    //用户总数
    int countUser();
}
